<table border="1px solid" cellspacing="0">
    <tr>
        <th>接口名称</th>
        <th>接口地址</th>
        <th>接口描述</th>
        <th>请求类型</th>
        <th>接收字段</th>
        <th>响应结果</th>
    </tr>
    <?php

        foreach($doc as $k => $v){

    ?>
            <tr>
                <td>
                    <?php echo $k; ?>
                </td>
                <td>
                    <?php echo $v['url'];?>
                </td>
                <td>
                    <?php echo $v['description'];?>
                </td>
                <td>
                    <?php echo $v['method'];?>
                </td>
                <td>
                    <?php echo json_encode($v['fileds']);?>
                </td>
                <td>
                    <?php echo json_encode($v['response']);?>
                </td>
            </tr>
    <?php
        }
    ?>


</table>